example:
% begin math-cases-numbered.tex
\definemathmatrix[alignedcases]
[align={1:right,2:left,3:left},
distance=3pt,
left={\left\{},
right={\right.},
style=\displaystyle]
\definereferenceformat[informula] [left
Dear list,
I asked this some time ago
(https://mailman.ntg.nl/pipermail/ntg-context/2021/102394.html).
Using the following sample:
\starttext
\definereferenceformat[itsc][in]
\setupreferencestructureprefix[itsc][default]
[prefixsegments=section]
\chapter{Chapter}
\section[b
Dear list,
I have the following sample:
\starttext
\definereferenceformat[itsc][in]
\setupreferencestructureprefix[itsc][default]
[prefixsegments=section]
\chapter{Chapter}
\section[b]{Section}
\itsc[b] and \in[b]
\stoptext
How can I get that \itsc gets "prefixsegments=se
[packed]},
after={\egroup},
]
\definereferenceformat [cite] [type=title,left={},right={}]
\definereferenceformat [bibpage] [type=page]
starttext
Now \cite[test 2020] on page
\page
\startbibitem[test 2020]
\input ward
\stopbibitem
\stoptext
Instead of “Now test 2020 on page”, I get “Now 248
hlight[emph][style={\em}]
> \definehighlight[strong][style={\bf}]
>
> \setupfloat[table][default={here}]
>
> \definereferenceformat[figura][text={Figura~}]
> \definereferenceformat[tabla][text={Tabla~}]
>
> \setupcaptions[style={\sans\small},
> width=max,
>
MWE (sorry for the long table, I hadn't anything else at hand):
\definehighlight[emph][style={\em}]
\definehighlight[strong][style={\bf}]
\setupfloat[table][default={here}]
\definereferenceformat[figura][text={Figura~}]
\definereferenceformat[tabla][text={Tabla
]
\starttext
\chapter[title=My first,
reference=First]
\page
in chapter 1 on page \getreference[realpage][First]
\stoptext
Create a new reference command with
\definereferenceformat [getrealpage] [type=realpage]
and use it (e.g. \getrealpage[First]) to show the page number.
Wolfgang
FILE
\definereferenceformat[eqref][left=(,right=)]
\starttext
\chapter[title=Foo]
\placeformula[eq:bar]
\startformula
1+1=2
\stopformula
We see in \eqref[eq:bar].
\stoptext
fixed in next beta
Hi,
The following example used to work.
But with an LMTX updated today, the numbering \eqref produces is (11)
instead of the expected (1.1). The numbering in the equation itself is fine.
Did something change on purpose?
/Mikael
%%% TEST FILE
\definereferenceformat[eqref][left=(,right
I usually define my own reference formats, “ineq” for equations, “infig”
for figures:
\definereferenceformat[ineq][left=(,right=)]
\definereferenceformat[infig][left=\labeltext{figure}]
\starttext
\starttext
\placeformula
\startformula \startalign
\NC a_1 x + b_1 y \NC = c_1 \NR[eq:1]
\NC
gt; \doifdefinedelse{in#1}
> {\getvalue{in#1}[#1:#2]}
> {\writestatus{references}{reference format in#1 not defined}
> \in[#1:#2]}
> \stoptexdefinition % #3 is optional and gobbled by \in
>
> \definereferenceformat[inchp]
> [text=\word{\labeltext{chapter}}]
>
&
{\writestatus{references}{reference format in#1 not defined}
> \in[#1:#2]}
> \stoptexdefinition % #3 is optional and gobbled by \in
>
> \definereferenceformat[inchp]
> [text=\word{\labeltext{chapter}}]
>
> \setuplabeltext[en]
> [chapter=Chapter~]
>
> \chapter[chp
#3 is optional and gobbled by \in
\definereferenceformat[inchp]
[text=\word{\labeltext{chapter}}]
\setuplabeltext[en]
[chapter=Chapter~]
\chapter[chp:first]{First}
Works:
\see[chp:first]
Hangs:
\see[chp:first],
\stoptext
––
--
T.J. Steenvoorden, MSc
PhD Candidate | Rad
ext=no,
alternative=hanging,
hang=1,
headcommand=\gobbleoneargument,
align=right,
before={\directsetup{tightspace}\bgroup\language[packed]},
after={\egroup},
]
\definereferenceformat [cite] [type=title,left={},right={}]
\definereferenceformat [bibpage] [type=page]
%\setupinteract
f\startbibitem{\dosingleempty\dostartbibitem}
>> \def\stopbibitem{\stopBibItem}
>>
>> \definedescription[BibItem][
>> width=broad,
>> margin=1.5pc,
>> indenting={no},
>> indentnext=no
c,
indenting={no},
indentnext=no,
alternative=hanging,
hang=1,
headcommand=\gobbleoneargument,
align=right,
before={\directsetup{tightspace}\bgroup\language[packed]},
after={\egroup},
]
\definereferencefo
gt;>> indenting={no},
>>> indentnext=no,
>>> alternative=hanging,
>>> hang=1,
>>> headcommand=\gobbleoneargument,
>>> align=right,
>>> before={\directsetup{tightspace}\bgroup\language[packed]},
>>> after={\egroup},
>>> ]
artbibitem}
>> \def\stopbibitem{\stopBibItem}
>>
>> \definedescription[BibItem][
>> width=broad,
>> margin=1.5pc,
>> indenting={no},
>> indentnext=no,
>> alternative=hanging,
>> hang=1,
>> headcommand=\gobbleoneargument,
>> align=rig
={\directsetup{tightspace}\bgroup\language[packed]},
after={\egroup},
]
\definereferenceformat [cite] [type=title,left={},right={}]
\definereferenceformat [bibpage] [type=page]
\starttext
\startbibitem[A, B, and C]\stopbibitem % TEST by commenting these
%\startbibitem[A{,} B{,} and C]\stopbibitem
]},
after={\egroup},
]
\definereferenceformat [cite] [type=title,left={},right={}]
\definereferenceformat [bibpage] [type=page]
\starttext
\startbibitem[A, B, and C]\stopbibitem % TEST by commenting these
%\startbibitem[A{,} B{,} and C]\stopbibitem % lines out
\startbibitem[ABC]\stopbibitem
Here is another question, I was wondering about.
What is the ConTeXt’s way to provide the “right” (or “left”) argument when
\definereferenceformat[text=…] is set?
Starting from this example:
\starttext
\definereferenceformat[infig][text={Figure }]
\startplacefigure[reference=fig:A]
Some
true, when the reference
format is not defined via \definereferenceformat, but also in
\in{Figure}[fig:A].
Here is the minimal example:
\starttext
\setupreferencing[
left={},
right={},
interaction=text, % critical
]
\definereferenceformat[infig][text={Figure }]
\chapter[myreference]{A Good Story
{{\tttf !?}}
>{\filterreference{page}}
> \stopsetups
>
> \definereferenceformat[thispage][setups=referenceformat:thispage]
>
> \starttext
>
> \chapter[one]{First chapter}
>
> First: \thispage[one]
>
> Second: \thispage[two]
>
> \chapter[tw
{{\tttf !?}}
> {\filterreference{page}}
> \stopsetups
>
> \definereferenceformat[thispage][setups=referenceformat:thispage]
>
> \starttext
>
> \chapter[one]{First chapter}
>
> First: \thispage[one]
>
> Second: \thispage[two]
>
> \chapter[tw
{\tttf !?}}
{\filterreference{page}}
\stopsetups
\definereferenceformat[thispage][setups=referenceformat:thispage]
\starttext
\chapter[one]{First chapter}
First: \thispage[one]
Second: \thispage[two]
\chapter[two]{Second chapter}
First: \thispage[one]
Second: \thispage[two]
\stoptext
Wo
Am 2015-12-04 um 23:23 schrieb Wolfgang Schuster <schuster.wolfg...@gmail.com>:
> or you use descriptions:
>
> \definedescription[bibitem][title=yes]
>
> \definereferenceformat [bibtitle] [type=title,left={[},right={]}]
> \definereferenceformat [bibpage] [type=pa
.
\startitemize
\item[eins] Der erste Eintrag
\item[zwei] Der zweite Eintrag
\stopitemize
\stoptext
My error or ConTeXt bug?
If that works, I’d like to setup something like:
\definereferenceformat[cite][left={[},right={]},command=\in]
I.e. \cite[Ramm 2015] should give
… [Ramm 2015] … and that reference
or ConTeXt bug?
> You can use the \in command only for numbered items (e.g. \startitemize[n]).
The same seems to be true for \at and \about.
Then how must I setup my "cite" to get the reference label of an item?
In my "manual bibliography" (as in
http://wiki.contextgarden.net/Manual_Bib
nual_Bibliography), I have
\definereferenceformat[cite][left={[},right={]},command=\at]
\startbibitem[Ramm 2015]
Ramm, Hraban: The Unsolved Question. Bishkek 2015.
\stopbibitem
And in my text I want to use \cite[Ramm 2015] to get a link to the
entry shown as [Ramm 2015].
You can choose between a itemgro
nd \about.
> > Then how must I setup my "cite" to get the reference label of an
> > item?
> >
> > In my "manual bibliography" (as in
> > http://wiki.contextgarden.net/Manual_Bibliography), I have
> >
> > \definereferenceformat[cite][le
Am 20.04.2015 um 05:10 schrieb Rik Kabel cont...@rik.users.panix.com:
A reference to the text of a multi-line heading takes on the line breaks of
the heading when \definereferenceformat[about] is used.
\definereferenceformat[about][type=title,left=,right=]
\starttext
\startsection
A reference to the text of a multi-line heading takes on the line breaks
of the heading when \definereferenceformat[about] is used.
\definereferenceformat[about][type=title,left=,right=]
\starttext
\startsection[reference={sec:one},
title={Three\\line\\title}]
\startparagraph
{\darkgray{\infofont
#1}}}\atop{}}\atop{}}$}
\def\placeformularef[#1]{\doifmode{proofreading}%
{\inrightmargin{\infofont #1}}%
\placeformula[#1]}
\definereferenceformat[Eqref][left=(,right=)]
\def\eqref[#1]{\betweenlines{#1}\Eqref[#1]}
\setupformulas[location=right]
\enablemode
}%
{\inrightmargin{\infofont #1}}%
\placeformula[#1]}
\definereferenceformat[Eqref][left=(,right=)]
\def\eqref[#1]{\betweenlines{#1}\Eqref[#1]}
\setupformulas[location=right]
\enablemode[proofreading]
\starttext
We have
\placeformularef[eq:Square]
\startformula
a^2 + 2ab + b^2 = (a + b)^2
\useMPlibrary[dum]
\setuplabeltext[en][figure={LEFT , RIGHT}]
\definereferenceformat[infigure][label=*]
\setupcaption[figure][numbercommand=\groupedcommand{}{:}]
\starttext
\startplacefigure[reference=fig:dummy,title=Dummy figure]
\externalfigure[dummy]
\stopplacefigure
See
the color after “RIGHT”.
begin example
\useMPlibrary[dum]
\setuplabeltext[en][figure={LEFT , RIGHT}]
\definereferenceformat[infigure][label=*]
\setupcaption[figure][numbercommand=\groupedcommand{}{:}]
\starttext
\startplacefigure[reference=fig:dummy,title=Dummy figure]
\externalfigure[dummy
of the formula).
The output is attached.
% begin placeformula-ref.tex
\def\placeformularef[#1]{\doifmodeelse{proofreading}%
{\inrightmargin{\tt\txx #1}\placeformula[#1]}%
{\placeformula[#1]}}
\definereferenceformat[eqref][left=(,right=),text={formula }]
\setupformulas[location
]%
{\doifmode{proofreading}{\inrightmargin{\infofont #1}%
\placeformula[#1]}
but a built in mechanism would probably work a bit different (less
potential interference)
\definereferenceformat[eqref][left=(,right=),text={formula }]
\setupformulas[location=right]
\enablemode[proofreading
texts for the reference with the \in command):
begin example
\useMPlibrary[dum]
\mainlanguage[hu]
\setuplabeltext [hu] [figure={, ábra.}]
\setupcaption[figure][numberstopper=.]
\definereferenceformat[infigure][label=figurereference]
\starttext
\startplacefigure[reference=fig:dummy,title
been unsuccessful in creating such a \animalabout
command. I looked at \definereferenceformat which gets rid of the quotes,
but I can’t make it go italics. I also looked at \setupreferencing, but that
seems to affect ALL \abouts.
\definereferenceformat[animalabout][style=italic,color=blue,type
such as \animalabout[ducks] and \animalabout[bears].
...but so far I have been unsuccessful in creating such a \animalabout command.
I looked at \definereferenceformat which gets rid of the quotes, but I can’t
make it go italics. I also looked at \setupreferencing, but that seems to
affect ALL \abouts
, for example, I am happy to replace the first like with
There are lots of animals such as \animalabout[ducks] and \animalabout[bears].
...but so far I have been unsuccessful in creating such a \animalabout
command. I looked at \definereferenceformat which gets rid of the quotes, but
I can’t
minimal example:
\setuphead[chapter][sectionstopper=.]
\definereferenceformat [inchapter] [text={Chapter~}]
\starttext
\chapter[one]{First heading}
\input knuth
\inchapter[one] we learn.
\stoptext
-Sanjoy
, not In Chapter 1. we learn?
I have tried many variants of the following minimal example:
\setuphead[chapter][sectionstopper=.]
\definereferenceformat [inchapter] [text={Chapter~}]
\starttext
\chapter[one]{First heading}
\input knuth
\inchapter[one] we learn.
\stoptext
\defineprocessor
for the record: I am using with success this solution with few
luascrips for a simple bibliography (sorting etc.), but only in ConTEXt
MKIV TeXLive 2011. I want use it in mimimals standalone too.
Thanx.
Jaroslav Hajtmar
Here is my example:
\definereferenceformat[cite][left={[},right
.
\definereferenceformat[Cite][left={[},right={]}]
\defineitemgroup [bibliography] [levels=1]
\setupitemgroup [bibliography]
[symbol=n,
left={[},
right={]},
width=1.5em,
stopper=,
itemalign
Hi Paul,
It seems that the left parenthesis causes trouble when giving a label to a
reference:
\definereferenceformat[eqref][left=(,right=)]
\starttext
\placeformula[N)]
\startformula
\Pr\{N = n\} = \Pr\left\{ \min_{1 ≤ k ≤ n} S_k 0 \right\} = p_n^{(1
On 8-12-2011 09:36, Otared Kavian wrote:
Hi Paul,
It seems that the left parenthesis causes trouble when giving a label to a
reference:
\definereferenceformat[eqref][left=(,right=)]
\starttext
\placeformula[N)]
\startformula
\Pr\{N = n\} = \Pr
message is in the log file.
references unknown reference [][(N)]
\definereferenceformat[eqref][left=(,right=)]
\starttext
\placeformula[(N)]
\startformula
\Pr\{N = n\} = \Pr\left\{ \min_{1 ≤ k ≤ n} S_k 0 \right\} =
p_n^{(1
:29 MKIV fmt: 2011.11.25 int:
english/english
and the following message is in the log file.
references unknown reference [][(N)]
\definereferenceformat[eqref][left=(,right=)]
\starttext
\placeformula[(N)]
\startformula
Hi list,
when I am using reference formats to put text in front of my text
references, I get no color. Please see the following minimal example
\setupinteraction[state=start]
\definereferenceformat[insec][text=section~]
\starttext
\section[mylabel]{A Section}
A Reference to \in{section
Am 30.11.2011 um 12:56 schrieb Stefan Müller:
Hi list,
when I am using reference formats to put text in front of my text references,
I get no color. Please see the following minimal example
\setupinteraction[state=start]
\definereferenceformat[insec][text=section~]
\starttext
I replied to the original thread, but no reply of that so far.
Am I the only one that has the problem not getting
%%% Start example
\definereferenceformat[eqref][left={(},right={)}]
\starttext
\placeformula[eq:gamma]
\startformula
\Gamma(n+1)=n!
\stopformula
The fundamental formula~\eqref
, but no reply of that so far.
Am I the only one that has the problem not getting
%%% Start example
\definereferenceformat[eqref][left={(},right={)}]
\starttext
\placeformula[eq:gamma]
\startformula
\Gamma(n+1)=n!
\stopformula
The fundamental formula~\eqref[eq:gamma]\ldots.
\stoptext
(}{)}[eq:pythagoras].
Normally this space is useful since the suffix is something like Table
or Figure.
Can `\in` be used with brackets or does another command have to be
defined/used for that?
Use \definereferenceformat to create your own command.
Wolfgang
Dear Paul,
this used to work:
%%% Start example
\definereferenceformat[eqref][left={(},right={)}]
\starttext
\placeformula[eq:gamma]
\startformula
\Gamma(n+1)=n!
\stopformula
The fundamental formula~\eqref[eq:gamma]\ldots.
\stoptext
%%% Stop example
But with the latest minimals it does
\definereferenceformat to create your own command.
to correct this in the reference do I just edit the Wiki article or is
the reference automatically created?
Thanks,
Paul
signature.asc
Description: This is a digitally signed message part
\NC\NR
\NC title\EQ \currentreferencetitle\NC\NR
\NC text \EQ\currentreferencetext \NC\NR
\NC default \EQ \currentreferencedefault \NC\NR
\NC realpage \EQ \currentreferencerealpage \NC\NR
\stoptabulate
\stopsetups
\definereferenceformat
The same thing happens here when referring to a figure using
\setupinteraction[state=start, focus=standard, style=,color=]
and
\definereferenceformat[infig][left={(Abb. },right={)}]
In one place it generates a red link, on another page a black one.
In both cases the figures are on the same page
On Thu, Oct 6, 2011 at 5:42 PM, Christian meta...@gmx.de wrote:
The same thing happens here when referring to a figure using
\setupinteraction[state=start, focus=standard, style=,color=]
and
\definereferenceformat[infig][left={(Abb. },right={)}]
In one place it generates a red link
Here you go:
%%
\setupinteraction[state=start, focus=standard, style=,color=]
\setupreferencing[interaction=all]
\definereferenceformat[infig][left={(Abb. },right={)}]
\starttext
\input knuth \infig[cow1]
\placefigure[here][cow1]{A Cow}{\externalfigure[cow][width=0.3
}}
\stopsetups
\definereferenceformat[refa][type=page]
\definereferenceformat[refb][type=page,style=italic]
\definereferenceformat[refc][setups=reference:c,color=red]
\starttext
\pagereference[test]
\startlines
A:\refa[test]
B:\refb[test]
C:\refc[test]
\stoplines
\stoptext
Wolfgang
way to achieve this?
You have to define your own command:
\startsetups reference:c
\high{\getreferenceentry{page}}
\stopsetups
\definereferenceformat[refa][type=page]
\definereferenceformat[refb][type=page,style=italic]
\definereferenceformat[refc][setups=reference:c,color=red]
\starttext
Can it be that in the beta version 2011.05.01, the behaviour of
\definereferenceformat changed?
I used to define:
\definereferenceformat [ineqn] [left=(,right=),text=equation]
and get e.g. equation (1), but now all it produces (equation 1). Is it
supposed to behave that way?
Do I have to use
Am 21.05.2011 um 18:32 schrieb Julian Becker:
Can it be that in the beta version 2011.05.01, the behaviour of
\definereferenceformat changed?
I used to define:
\definereferenceformat [ineqn] [left=(,right=),text=equation]
and get e.g. equation (1), but now all it produces (equation 1
I have seen this discussed once somewhere else, but I can't find it. Here's
the problem: two equations in my document have been given numbers (1) and
(2), but the references to them come up as (2) and (3) respectively. I have
used:
\definereferenceformat [ineqn] [left=(,right=),text=equation
:
\definereferenceformat [ineqn] [left=(,right=),text=equation]
to obtain their references.
What is going on here?
A minimal example is needed.
And is there an easier way to obtain parentheses
around a reference number, so that we see from equation (6) instead of we
see from equation 6
McAndrew wrote:
I have seen this discussed once somewhere else, but I can't find it.
Here's
the problem: two equations in my document have been given numbers (1) and
(2), but the references to them come up as (2) and (3) respectively. I
have
used:
\definereferenceformat [ineqn] [left
\definereferenceformat.
\mainlanguage[nl]
\definereferenceformat
[AtPage]
[label=page,
%autocase=no,
]
\starttext
\reference[test]{\pagenumber}
\at{page}[test]
\AtPage[test]
\stoptext
@Hans: What happend with “command=\at” for \definereferenceformat?
Wolfgang
Hi,
I think it could be useful to be able to reuse the label text setups
elsewhere, too.
I have for example
\definereferenceformat[inexp][label=example]
\setuplabeltext[en][example=example~]
in one of my documents. Why not specify this label when defining an
enumeration example
think it could be useful to be able to reuse the label text setups
elsewhere, too.
I have for example
\definereferenceformat[inexp][label=example]
\setuplabeltext[en][example=example~]
in one of my documents. Why not specify this label when defining an
enumeration example:
\defineenumeration
fyi: you can say autocase=yes so that e.g. page becomes Page when it ends up
at the beginning of a line.
Hans, thanks for the new functionality. How would I use autocase? This does not
seem to work:
\definereferenceformat [aPage] [label=page, autocase=yes]
See \aPage[one]. \aPage[one
On 15-2-2011 12:00, Florian Wobbe wrote:
\definereferenceformat [aPage] [label=page, autocase=yes]
See \aPage[one]. \aPage[one] is important. % Page is always capitalised
fixed in next beta
Hi,
I uploaded a beta. New:
- Improved \textxt behaviour (for Mojca's code).
- Korean labels and index tagging (with help from Jeong Dalyoung).
- Cleaned of referencing (formats).
\setupinteraction[state=start]
\startbuffer[definitions]
\definereferenceformat [PageOne] [left=(,right=),text
says context don’t know a command with the name \insection,
the only reference to the command in the source is in the file s-chi-00.tex
which is used in mkii for chinese:
\definereferenceformat [insection] [\c!label=\v!section]
Wolfgang
[Ref217459429].
What's this?
As the message says context don’t know a command with the name \insection,
the only reference to the command in the source is in the file s-chi-00.tex
which is used in mkii for chinese:
\definereferenceformat [insection] [\c!label=\v!section]
... ahh
Otared Kavian wrote:
Hi Pau,
\define[1]\eqref{(\in[#1])} % this definition is optional…
\definereferenceformat[ineq][left=(,right=)]
It is more handy to use \type{\eqref}: as one sees in equation
\ineq[nohair
Hi!
The following code:
\definereferenceformat[lem][text=Lemma]
\inlem[lem:mylemma]
produces just a number, no Lemma prefix. I've sent a patch to fix it a
while ago. Could you please apply it, or tell me why you don't want to apply
it?
--
Yury G. Kudryashov--- a/tex/texmf-context/tex
On 8-8-2010 2:44, Yury G. Kudryashov wrote:
Hi!
The following code:
\definereferenceformat[lem][text=Lemma]
\inlem[lem:mylemma]
produces just a number, no Lemma prefix. I've sent a patch to fix it a
while ago. Could you please apply it, or tell me why you don't want to apply
it?
because
Hans Hagen wrote:
On 8-8-2010 2:44, Yury G. Kudryashov wrote:
Hi!
The following code:
\definereferenceformat[lem][text=Lemma]
\inlem[lem:mylemma]
produces just a number, no Lemma prefix. I've sent a patch to fix it a
while ago. Could you please apply it, or tell me why you don't want
On 8-8-2010 7:19, Yury G. Kudryashov wrote:
Hans Hagen wrote:
On 8-8-2010 2:44, Yury G. Kudryashov wrote:
Hi!
The following code:
\definereferenceformat[lem][text=Lemma]
\inlem[lem:mylemma]
produces just a number, no Lemma prefix. I've sent a patch to fix it a
while ago. Could you please
Hans Hagen wrote:
On 8-8-2010 7:19, Yury G. Kudryashov wrote:
Hans Hagen wrote:
On 8-8-2010 2:44, Yury G. Kudryashov wrote:
Hi!
The following code:
\definereferenceformat[lem][text=Lemma]
\inlem[lem:mylemma]
produces just a number, no Lemma prefix. I've sent a patch to fix
On 8-8-2010 7:40, Yury G. Kudryashov wrote:
this is only one case (we also need labels, content, left and right to
work ok)
I uploaded a beta that handles the following as intended.
\starttext
\definereferenceformat [intesta] [left=(,right=),text=Whatever~]
\definereferenceformat [intestb
~ was inserted automatically. For example,
http://wiki.contextgarden.net/References suggests
\definereferenceformat[insec][text=section]
Am I right that the main difference between text and label (in the new
version) is that context automatically uppercases label and adds ~ after
it?
No, the label key
accepted upstream.
P.S.: What about my patch for strc-ref that fixes
\definereferenceformat[inlem][text=Lemma] ignoring text=?
___
If your question is of interest to others as well, please add an entry to the
Wiki
taco wrote:
Hi,
Yury G. Kudryashov wrote:
Another problem fixed by my patch:
\definereferenceformat[ineq][text=equation]
\starttext
\placeformula[first]
\startformula 1=1\stopformula
\ineq[first]
\stoptext
printed 1, not equation 1.
This problem is still there and needs fixing
Yury G. Kudryashov wrote:
Hi!
I try the following:
\definereferenceformat[ineq][left=(,right=),text=Equation]
\starttext
\placeformula[first]
\startformula
2=2
\stopformula
In \in[first] ineq \ineq[first] in \in[first].
\stoptext
The result is:
2 = 2 (1)
In 1 ineq (1) in (1
patch:
\definereferenceformat[ineq][text=equation]
\starttext
\placeformula[first]
\startformula 1=1\stopformula
\ineq[first]
\stoptext
printed 1, not equation 1.
This problem is still there and needs fixing, but I think your patch
has a bug (possibly because of the already done other bugfix
this beta will be published.
Another problem fixed by my patch:
\definereferenceformat[ineq][text=equation]
\starttext
\placeformula[first]
\startformula 1=1\stopformula
\ineq[first]
\stoptext
printed 1, not equation 1.
This problem is still there and needs fixing, but I think your patch
Hi!
I try the following:
\definereferenceformat[ineq][left=(,right=),text=Equation]
\starttext
\placeformula[first]
\startformula
2=2
\stopformula
In \in[first] ineq \ineq[first] in \in[first].
\stoptext
The result is:
2 = 2 (1)
In 1 ineq (1) in (1).
It seems that \ineq doesn't clear some
. }{ sec. )}[one]
\stoptext
[1] MkIV problems so far:
* \in[] bug after \definereferenceformat[][]:
http://archive.contextgarden.net/message/20100525.013929.6c0016f2.en.html
* Interaction is not working (works fine with MkII):
http://archive.contextgarden.net/message/20100525.002043.bb202b94
A bug in MkIV?
The left=[ and right=] settings of \definereferenceformat[] bleed through
to \in and \at:
\definereferenceformat[cite][left={[},right={]}]
\starttext
\section[sec:test]{Test}
\cite[].
Section \in[sec:test].
\stoptext
By the way, is \setupreferencing meant for \about only (if so
Dear list,
the following example gives me unexpected format of the last reference
to the section
\definereferenceformat[eqref][left={(},right={)}]
\starttext
\section[sec:test]{Test}
We are now in \in{Section}{}[sec:test].
\placeformula[eq:general]
\startformula
A=B
\stopformula
In~\eqref
Hello all,
when i define a new reference with \definereferenceformat the \at command
inherits the value from the left and right keys (see attachement).
Is there a solution to prevent this or can i maybe define a costume reference
format which outputs the pagenumber and not the sectionnumber
Am 27.01.10 00:08, schrieb Bernhard Rosensteiner:
Hello all,
when i define a new reference with \definereferenceformat the \at command
inherits the value from the left and right keys (see attachement).
Is there a solution to prevent this or can i maybe define a costume reference
format which
Am 27.01.2010 um 00:16 schrieb Wolfgang Schuster:
Am 27.01.10 00:08, schrieb Bernhard Rosensteiner:
Hello all,
when i define a new reference with \definereferenceformat the \at command
inherits the value from the left and right keys (see attachement).
Is there a solution to prevent
Hi all,
I wonder whether this issue with text in \definereferenceformat is a bug, or
if I missed something. Thanks a lot.
shenchen
On Wed, Nov 25, 2009 at 9:50 AM, Chen Shen hashh...@gmail.com wrote:
I have the same problem with the latest mkiv beta (2009.11.25).
left/right works fine
On Wed, Nov 11 2009, Bernhard Rosensteiner wrote:
\definereferenceformat[fig][left=(, right=), label=reffigure, text={figure}]
produces no output of text (in this case figure) when i do
\fig[something]. Is this a bug in mkiv? I use luatex 0.44
A workaround:
\definereferenceformat[fig
Thanks a lot Peter
shenchen
On Sun, Nov 29, 2009 at 12:36 AM, Peter Münster pmli...@free.fr wrote:
On Wed, Nov 11 2009, Bernhard Rosensteiner wrote:
\definereferenceformat[fig][left=(, right=), label=reffigure,
text={figure}]
produces no output of text (in this case figure) when i do
I have the same problem with the latest mkiv beta (2009.11.25).
left/right works fine, but text does not.
regards,
shenchen
On Thu, Nov 12, 2009 at 1:26 AM, Bernhard Rosensteiner
brosenstei...@gmail.com wrote:
Hello,
\definereferenceformat[fig][left=(, right=), label=reffigure,
text
1 - 100 of 151 matches
Mail list logo